
<%@ page import="com.app.ic.bill.IcGeneralHead" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'icGeneralHead.label', default: 'IcGeneralHead')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-icGeneralHead" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-icGeneralHead" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list icGeneralHead">
			
				<g:if test="${icGeneralHeadInstance?.bdCorp}">
				<li class="fieldcontain">
					<span id="bdCorp-label" class="property-label"><g:message code="icGeneralHead.bdCorp.label" default="Bd Corp" /></span>
					
						<span class="property-value" aria-labelledby="bdCorp-label"><g:link controller="bdCorp" action="show" id="${icGeneralHeadInstance?.bdCorp?.id}">${icGeneralHeadInstance?.bdCorp?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.billType}">
				<li class="fieldcontain">
					<span id="billType-label" class="property-label"><g:message code="icGeneralHead.billType.label" default="Bill Type" /></span>
					
						<span class="property-value" aria-labelledby="billType-label"><g:link controller="pubBilltype" action="show" id="${icGeneralHeadInstance?.billType?.id}">${icGeneralHeadInstance?.billType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.billTypeCode}">
				<li class="fieldcontain">
					<span id="billTypeCode-label" class="property-label"><g:message code="icGeneralHead.billTypeCode.label" default="Bill Type Code" /></span>
					
						<span class="property-value" aria-labelledby="billTypeCode-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="billTypeCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.billdate}">
				<li class="fieldcontain">
					<span id="billdate-label" class="property-label"><g:message code="icGeneralHead.billdate.label" default="Billdate" /></span>
					
						<span class="property-value" aria-labelledby="billdate-label"><g:formatDate date="${icGeneralHeadInstance?.billdate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.billno}">
				<li class="fieldcontain">
					<span id="billno-label" class="property-label"><g:message code="icGeneralHead.billno.label" default="Billno" /></span>
					
						<span class="property-value" aria-labelledby="billno-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="billno"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.billtype}">
				<li class="fieldcontain">
					<span id="billtype-label" class="property-label"><g:message code="icGeneralHead.billtype.label" default="Billtype" /></span>
					
						<span class="property-value" aria-labelledby="billtype-label"><g:link controller="pubBilltype" action="show" id="${icGeneralHeadInstance?.billtype?.id}">${icGeneralHeadInstance?.billtype?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.body}">
				<li class="fieldcontain">
					<span id="body-label" class="property-label"><g:message code="icGeneralHead.body.label" default="Body" /></span>
					
						<g:each in="${icGeneralHeadInstance.body}" var="b">
						<span class="property-value" aria-labelledby="body-label"><g:link controller="icGeneralBody" action="show" id="${b.id}">${b?.encodeAsHTML()}</g:link></span>
						</g:each>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.boutretFlag}">
				<li class="fieldcontain">
					<span id="boutretFlag-label" class="property-label"><g:message code="icGeneralHead.boutretFlag.label" default="Boutret Flag" /></span>
					
						<span class="property-value" aria-labelledby="boutretFlag-label"><g:formatBoolean boolean="${icGeneralHeadInstance?.boutretFlag}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.businessType}">
				<li class="fieldcontain">
					<span id="businessType-label" class="property-label"><g:message code="icGeneralHead.businessType.label" default="Business Type" /></span>
					
						<span class="property-value" aria-labelledby="businessType-label"><g:link controller="pubBusinessType" action="show" id="${icGeneralHeadInstance?.businessType?.id}">${icGeneralHeadInstance?.businessType?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cauditor}">
				<li class="fieldcontain">
					<span id="cauditor-label" class="property-label"><g:message code="icGeneralHead.cauditor.label" default="Cauditor" /></span>
					
						<span class="property-value" aria-labelledby="cauditor-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.cauditor?.id}">${icGeneralHeadInstance?.cauditor?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cbillTypeCode}">
				<li class="fieldcontain">
					<span id="cbillTypeCode-label" class="property-label"><g:message code="icGeneralHead.cbillTypeCode.label" default="Cbill Type Code" /></span>
					
						<span class="property-value" aria-labelledby="cbillTypeCode-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="cbillTypeCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cbiz}">
				<li class="fieldcontain">
					<span id="cbiz-label" class="property-label"><g:message code="icGeneralHead.cbiz.label" default="Cbiz" /></span>
					
						<span class="property-value" aria-labelledby="cbiz-label"><g:link controller="bdPsndoc" action="show" id="${icGeneralHeadInstance?.cbiz?.id}">${icGeneralHeadInstance?.cbiz?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.ccustomer}">
				<li class="fieldcontain">
					<span id="ccustomer-label" class="property-label"><g:message code="icGeneralHead.ccustomer.label" default="Ccustomer" /></span>
					
						<span class="property-value" aria-labelledby="ccustomer-label"><g:link controller="bdCumandoc" action="show" id="${icGeneralHeadInstance?.ccustomer?.id}">${icGeneralHeadInstance?.ccustomer?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cdept}">
				<li class="fieldcontain">
					<span id="cdept-label" class="property-label"><g:message code="icGeneralHead.cdept.label" default="Cdept" /></span>
					
						<span class="property-value" aria-labelledby="cdept-label"><g:link controller="bdDeptdoc" action="show" id="${icGeneralHeadInstance?.cdept?.id}">${icGeneralHeadInstance?.cdept?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.checkDate}">
				<li class="fieldcontain">
					<span id="checkDate-label" class="property-label"><g:message code="icGeneralHead.checkDate.label" default="Check Date" /></span>
					
						<span class="property-value" aria-labelledby="checkDate-label"><g:formatDate date="${icGeneralHeadInstance?.checkDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.checker}">
				<li class="fieldcontain">
					<span id="checker-label" class="property-label"><g:message code="icGeneralHead.checker.label" default="Checker" /></span>
					
						<span class="property-value" aria-labelledby="checker-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.checker?.id}">${icGeneralHeadInstance?.checker?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.clastmodi}">
				<li class="fieldcontain">
					<span id="clastmodi-label" class="property-label"><g:message code="icGeneralHead.clastmodi.label" default="Clastmodi" /></span>
					
						<span class="property-value" aria-labelledby="clastmodi-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.clastmodi?.id}">${icGeneralHeadInstance?.clastmodi?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.coperator}">
				<li class="fieldcontain">
					<span id="coperator-label" class="property-label"><g:message code="icGeneralHead.coperator.label" default="Coperator" /></span>
					
						<span class="property-value" aria-labelledby="coperator-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.coperator?.id}">${icGeneralHeadInstance?.coperator?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.corp}">
				<li class="fieldcontain">
					<span id="corp-label" class="property-label"><g:message code="icGeneralHead.corp.label" default="Corp" /></span>
					
						<span class="property-value" aria-labelledby="corp-label"><g:link controller="bdCorp" action="show" id="${icGeneralHeadInstance?.corp?.id}">${icGeneralHeadInstance?.corp?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cprovider}">
				<li class="fieldcontain">
					<span id="cprovider-label" class="property-label"><g:message code="icGeneralHead.cprovider.label" default="Cprovider" /></span>
					
						<span class="property-value" aria-labelledby="cprovider-label"><g:link controller="bdCumandoc" action="show" id="${icGeneralHeadInstance?.cprovider?.id}">${icGeneralHeadInstance?.cprovider?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cwarehouse}">
				<li class="fieldcontain">
					<span id="cwarehouse-label" class="property-label"><g:message code="icGeneralHead.cwarehouse.label" default="Cwarehouse" /></span>
					
						<span class="property-value" aria-labelledby="cwarehouse-label"><g:link controller="bdStordoc" action="show" id="${icGeneralHeadInstance?.cwarehouse?.id}">${icGeneralHeadInstance?.cwarehouse?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cwastewarehouse}">
				<li class="fieldcontain">
					<span id="cwastewarehouse-label" class="property-label"><g:message code="icGeneralHead.cwastewarehouse.label" default="Cwastewarehouse" /></span>
					
						<span class="property-value" aria-labelledby="cwastewarehouse-label"><g:link controller="bdStordoc" action="show" id="${icGeneralHeadInstance?.cwastewarehouse?.id}">${icGeneralHeadInstance?.cwastewarehouse?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.cwhsmanager}">
				<li class="fieldcontain">
					<span id="cwhsmanager-label" class="property-label"><g:message code="icGeneralHead.cwhsmanager.label" default="Cwhsmanager" /></span>
					
						<span class="property-value" aria-labelledby="cwhsmanager-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.cwhsmanager?.id}">${icGeneralHeadInstance?.cwhsmanager?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.daccountDate}">
				<li class="fieldcontain">
					<span id="daccountDate-label" class="property-label"><g:message code="icGeneralHead.daccountDate.label" default="Daccount Date" /></span>
					
						<span class="property-value" aria-labelledby="daccountDate-label"><g:formatDate date="${icGeneralHeadInstance?.daccountDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="icGeneralHead.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${icGeneralHeadInstance?.dateCreated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.dauditDate}">
				<li class="fieldcontain">
					<span id="dauditDate-label" class="property-label"><g:message code="icGeneralHead.dauditDate.label" default="Daudit Date" /></span>
					
						<span class="property-value" aria-labelledby="dauditDate-label"><g:formatDate date="${icGeneralHeadInstance?.dauditDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.dbillDate}">
				<li class="fieldcontain">
					<span id="dbillDate-label" class="property-label"><g:message code="icGeneralHead.dbillDate.label" default="Dbill Date" /></span>
					
						<span class="property-value" aria-labelledby="dbillDate-label"><g:formatDate date="${icGeneralHeadInstance?.dbillDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.fbillFlag}">
				<li class="fieldcontain">
					<span id="fbillFlag-label" class="property-label"><g:message code="icGeneralHead.fbillFlag.label" default="Fbill Flag" /></span>
					
						<span class="property-value" aria-labelledby="fbillFlag-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="fbillFlag"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.freplenishFlag}">
				<li class="fieldcontain">
					<span id="freplenishFlag-label" class="property-label"><g:message code="icGeneralHead.freplenishFlag.label" default="Freplenish Flag" /></span>
					
						<span class="property-value" aria-labelledby="freplenishFlag-label"><g:formatBoolean boolean="${icGeneralHeadInstance?.freplenishFlag}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.iprintCount}">
				<li class="fieldcontain">
					<span id="iprintCount-label" class="property-label"><g:message code="icGeneralHead.iprintCount.label" default="Iprint Count" /></span>
					
						<span class="property-value" aria-labelledby="iprintCount-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="iprintCount"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="icGeneralHead.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${icGeneralHeadInstance?.lastUpdated}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.makeDate}">
				<li class="fieldcontain">
					<span id="makeDate-label" class="property-label"><g:message code="icGeneralHead.makeDate.label" default="Make Date" /></span>
					
						<span class="property-value" aria-labelledby="makeDate-label"><g:formatDate date="${icGeneralHeadInstance?.makeDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.maker}">
				<li class="fieldcontain">
					<span id="maker-label" class="property-label"><g:message code="icGeneralHead.maker.label" default="Maker" /></span>
					
						<span class="property-value" aria-labelledby="maker-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.maker?.id}">${icGeneralHeadInstance?.maker?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.ndiscountmny}">
				<li class="fieldcontain">
					<span id="ndiscountmny-label" class="property-label"><g:message code="icGeneralHead.ndiscountmny.label" default="Ndiscountmny" /></span>
					
						<span class="property-value" aria-labelledby="ndiscountmny-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="ndiscountmny"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.nnetmny}">
				<li class="fieldcontain">
					<span id="nnetmny-label" class="property-label"><g:message code="icGeneralHead.nnetmny.label" default="Nnetmny" /></span>
					
						<span class="property-value" aria-labelledby="nnetmny-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="nnetmny"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.process_id}">
				<li class="fieldcontain">
					<span id="process_id-label" class="property-label"><g:message code="icGeneralHead.process_id.label" default="Processid" /></span>
					
						<span class="property-value" aria-labelledby="process_id-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="process_id"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.process_type}">
				<li class="fieldcontain">
					<span id="process_type-label" class="property-label"><g:message code="icGeneralHead.process_type.label" default="Processtype" /></span>
					
						<span class="property-value" aria-labelledby="process_type-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="process_type"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.purchaser}">
				<li class="fieldcontain">
					<span id="purchaser-label" class="property-label"><g:message code="icGeneralHead.purchaser.label" default="Purchaser" /></span>
					
						<span class="property-value" aria-labelledby="purchaser-label"><g:link controller="smUser" action="show" id="${icGeneralHeadInstance?.purchaser?.id}">${icGeneralHeadInstance?.purchaser?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.sourceSystem}">
				<li class="fieldcontain">
					<span id="sourceSystem-label" class="property-label"><g:message code="icGeneralHead.sourceSystem.label" default="Source System" /></span>
					
						<span class="property-value" aria-labelledby="sourceSystem-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="sourceSystem"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.taccountTime}">
				<li class="fieldcontain">
					<span id="taccountTime-label" class="property-label"><g:message code="icGeneralHead.taccountTime.label" default="Taccount Time" /></span>
					
						<span class="property-value" aria-labelledby="taccountTime-label"><g:formatDate date="${icGeneralHeadInstance?.taccountTime}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.vbillCode}">
				<li class="fieldcontain">
					<span id="vbillCode-label" class="property-label"><g:message code="icGeneralHead.vbillCode.label" default="Vbill Code" /></span>
					
						<span class="property-value" aria-labelledby="vbillCode-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="vbillCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.vdiliverAddress}">
				<li class="fieldcontain">
					<span id="vdiliverAddress-label" class="property-label"><g:message code="icGeneralHead.vdiliverAddress.label" default="Vdiliver Address" /></span>
					
						<span class="property-value" aria-labelledby="vdiliverAddress-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="vdiliverAddress"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.vnote}">
				<li class="fieldcontain">
					<span id="vnote-label" class="property-label"><g:message code="icGeneralHead.vnote.label" default="Vnote" /></span>
					
						<span class="property-value" aria-labelledby="vnote-label"><g:fieldValue bean="${icGeneralHeadInstance}" field="vnote"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${icGeneralHeadInstance?.xdept}">
				<li class="fieldcontain">
					<span id="xdept-label" class="property-label"><g:message code="icGeneralHead.xdept.label" default="Xdept" /></span>
					
						<span class="property-value" aria-labelledby="xdept-label"><g:link controller="bdDeptdoc" action="show" id="${icGeneralHeadInstance?.xdept?.id}">${icGeneralHeadInstance?.xdept?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${icGeneralHeadInstance?.id}" />
					<g:link class="edit" action="edit" id="${icGeneralHeadInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
